2017-06-26 - 35203 - Spec - PO STO Output for WM10 Inbound Receipts #ProductionBreakFix #PurchaseOrders

SPECIFICATIONS

5203 - Spec - PO STO For WM10 Inbound Receipts


Purpose


EDI Files which are generated for PO STO having plant 0146 and STO Deliveries having shipping point as 0146 shall be placed in the new directory.

07/10/2017: The files shall be placed in the old directory.

Admin Info


Purpose
PO Sto for WM10 Inbound Receipts
Requested By
Babu Lankipalli
Spec Created By
Adithya
Spec Created Date
06/26/2017
Spec QA by
Laxman
Objects
ZMMEDI_FILE_FOR_RETAIL_PO
Document Status
Complete

Estimates



Sl.No
Activity
Estimation in Hours
1
Research

2
Documentation
08
3
Development/ Config
12
4
Unit test in DEV
08
5
Unit test in QUA

6
Other activity


TOTAL
24

References


Prior Tickets

[Provide links of prior associated Spec / Break Fix BOSS document(s)]

Documents

[Attach any document(s) received for the requirement(s)]

Spec Changes


[List the changes made to program after the approval of the original requirement along with the Date on which the change request was received and the name of the initiator]

Sl.
Change Details
Requested By
Requested On
Notes if any
1
Files shall be placed in the old directory only,
With Shipping point number in file name for STO Delivery
Files shall be going to the same directory where it is currently placed in
Babu Vanamali
07/10/2017

Functional Requirement


Purpose/WHY:

[Explain the purpose of the project and the reason why this requirement has come]
All the files (generated for PO, STO & STO Delivery) corresponding to the eCommerce plant shall be placed in the new directory specifically created for eCommerce so as the files corresponding to eCommerce shall be sent to the eCommerce.

In Scope:

[List the activities to be included in scope]
PO, STO & STO Delivery for plant 0146

Out of Scope:

[Out of scope activities]
POs STOs and Deliveries of Other plants are not included

Solution Summary


[Discuss this section with Requester and get approval prior to beginning work]

For PO and STO
1. Create a Port and give the new Directory where the files are to be placed, assign a Function Module so as the file name for the PO and STO files are with the plant Names.
2. Define New Logical System (Configuration T Code SALE)
3. Create the Logical System in partner profiles with the message types and port defined in it.
4. Maintain the condition records:
a) For PO: ZNU4 Key Combination: Document type & Company Code, Assign the partner in the condition record.
b) For STO: ZSTO Key Combination: Document type & Company Code, Assign the partner in the condition record.

The files are to be placed in the old folder:

FOR STO Delivery
Condition Records for STO Delivery are maintained at Sales Organization and Delivery type combination, 1300 & NL
Partner 0145 is maintained in the Condition Record.
Menlo Port is maintained in the partner.
FM "ZMMEDI_FILE_FOR_RETAIL_PO" is assigned in the Menlo Port

Date 07/11/2017
The Solution is changed as per the changes:

Since the files are to be placed in the Old Directory: Change logic in the existing Function Module "ZMMEDI_FILE_FOR_RETAIL_PO"
If first line of the PO line item is having plant 0146, then the file name shall have plant number, for example ORDERS_PLANT_IDOCNUMBER.
If first line of the STO is having plant 0146, then the file name shall have plant number, for example ZSTO_PLANT_IDOCNUMBER.
If Shipping Point in the Delivery is having 0146, then the file name shall have plant number, for example WHSORD_PLANT_IDOCNUMBER.


Test Plan

[List test scenarios/cases to be executed here]
Test ID
Test Scenario
Expected Results
MMECOM1
Create a PO for Plant 0146
Output ZNU4 has to be triggered and the file has to be placed in the directory with plant in file name
MMECOM2
Create a PO for Plant 0145 0215 other than PRVA SLOC
Output ZNU4 has to be triggered and the file has to be placed in the directory with plant in file name: Retail_Orders_IDOC Number
MMECOM3
Create a PO for Plant 0145 0215 with PRVA SLOC
Output ZNU4 has to be triggered and the file has to be placed in the directory with plant in file name: Orders_IDOC Number
MMECOM3
Create a PO for Plant 0116
Output ZNU4 has to be triggered and the file has to be placed in the directory with out plant in file name
MMECOM4
Create a STO for Plant 0116
Output ZSTO has to be triggered and the file has to be placed in the directory with plant in file name
MMECOM5
Create a STO with shipping Point 0146
Output ZSTO has to be triggered and the file has to be placed in the directory with out plant in file name
MMECOM6
Create a STO Delivery with shipping point 0146
Output ZLD4 has to be triggered and the file has to be placed in the directory with shipping point in the file name
MMECOM7
Create a STO Delivery with shipping point other than (0145)
Output ZLD4 has to be triggered and the file has to be placed in the old directory.
MMEOCM8
Create a Normal Delivery
Output ZLD4 has to be triggered and the file has to be placed in the old directory.

Solution Details


[Provide complete technical details for configuration or programming here]
Changed logic in FM "ZMMEDI_FILE_FOR_RETAIL_PO", so that file generates accordingly.

Issues


[List Issues / Bugs identified in configuration or development]
2017-07-10 - 35203 - Rel Notes - PO STO Output for WM10 Inbound Receipts